package com.way;

/**
 * @author 魏彪
 */
public class Test01 {

    public static void main(String[] args) {
        Handler handlerA = new HandlerA();
        Handler handlerB = new HandlerB();
        handlerA.setNext(handlerB);
        handlerA.handleRequest("requestB");
    }
}
